package com.ask.forMe.langchain4j.tools;

import dev.langchain4j.agent.tool.Tool;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class EmotionHandler {
    @Tool(value = "当用户输入xx时，调用此方法")
    public String handleNegativeEmotion() {
        System.out.println("heawaslk");
        return "he";
    }
}
